<ion-view title="运单查询">
    <ion-nav-buttons side="left">
        <button class="button back-button buttons icon ion-ios-arrow-left button-clear header-item" nav-direction="back" ng-click="goBack()">返回</button>
    </ion-nav-buttons>
    <ion-content style="overflow: hidden;">
        <div class="card list padding">
            <label class="item item-input icon-left icon-right">
                <i class="input-label">承运单号：</i>
                <input type="text" placeholder="请输入承运单号" ng-model="cyd.cydh">
            </label>
            <label class="item item-input icon-left icon-right item-select">
                <i class="input-label">承运状态：</i>
                <select id="cyzt" class="select" style="direction: ltr;padding: 0 48px 0 5px;">
                    <option selected></option>
                    <option value="10">承运单录入</option>
                    <option value="20">装车单录入</option>
                    <option value="30">中转</option>
                    <option value="40">外包</option>
                    <option value="70">到货签单</option>
                    <option value="90">已送货</option>
                    <option value="100">客户签收</option>
                    <option value="110">签单回报</option>
                    <option value="120">签单接收</option>
                    <option value="130">签单发放</option>
                    <option value="140">回单</option>
                    <option value="150">销单</option>
                </select>
            </label>
            <label class="item item-input icon-left icon-right item-select">
                <i class="input-label">到达站：</i>
                <select id="shbm" class="select" style="direction: ltr;padding: 0 48px 0 5px;">
                    <option selected></option>
                    <option ng-repeat="i in zdChoose" value="{{i.bm_id}}" >{{i.bmmc}}</option>
                </select>
            </label>
            <label class="item item-input">
                <i class="input-label">起始时间：</i>
                <!--<input type="text" ng-model="cyd.kssj">-->
                <button class="button button-clear button-block" style="color: #000;font-size: 14px;text-align: left;font-family: 'Adobe Heiti Std'" ng-click="showStartDate()">{{startDate | date : "yyyy年MM月dd日"}}</button>
            </label>
            <label class="item item-input">
                <i class="input-label">终止时间：</i>
                <!--<input type="text" ng-model="cyd.jssj">-->
                <button class="button  button-clear button-block" style="color: #000;font-size: 14px;text-align: left;font-family: 'Adobe Heiti Std'" ng-click="showEndDate()">{{endDate | date : "yyyy年MM月dd日"}}</button>
            </label>
            <label class="item item-input">
                <i class="input-label">发货人/电话：</i>
                <input type="text"  placeholder="请选择发货人/电话" ng-click="chooseLinkman(4,2)" ng-model="cyd.fhrmcdh" readonly>
            </label>
            <label class="item item-input">
                <i class="input-label">收货人/电话：</i>
                <input type="text"  placeholder="请选择收货人/电话" ng-click="chooseLinkman(4,1)" ng-model="cyd.shrmcdh" readonly>
            </label>
            <!--<div class="button button-block positive-bg light" ng-click="showStartDate()">查询</div>-->
            <div class="button button-block positive-bg light" ng-click="searchCyd(cyd)">查询</div>
        </div>
    </ion-content>
</ion-view>